package summer_vacation.cullen.four10;

import java.util.Scanner;

/**
 * Created by Cullen on 2015/8/13.
 */
public class N42 {
    public static void main(String[] args) {
        int sum=0;
        System.out.print("请输入4*4的二维整型数组的每一个数：");
        Scanner cin=new Scanner(System.in );
        int[][] sz=new int[4][4];
        for(int i=0;i<4;i++)
        {for(int j=0;j<4;j++)
        {sz[i][j]=cin.nextInt();}
        }
        for(int i=0;i<4;i++)
        {for(int j=i;j<=i;j++)
            sum=sum+sz[i][j];
        }
        System.out.print(sum);}

}
